package com.xb.cloud.user.model.mapper;

import com.xb.cloud.user.model.EndUserAddress;
import com.xb.cloud.user.model.EndUserAddressExample;
import com.xb.cloud.user.service.client.bo.EndUserAddressBo;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface EndUserAddressMapper {
    int countByExample(EndUserAddressExample example);

    int deleteByExample(EndUserAddressExample example);

    int deleteByPrimaryKey(Long id);

    int insert(EndUserAddress record);

    int insertSelective(EndUserAddress record);

    List<EndUserAddress> selectByExample(EndUserAddressExample example);

    EndUserAddress selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") EndUserAddress record, @Param("example") EndUserAddressExample example);

    int updateByExample(@Param("record") EndUserAddress record, @Param("example") EndUserAddressExample example);

    int updateByPrimaryKeySelective(EndUserAddress record);

    int updateByPrimaryKey(EndUserAddress record);
    
    List<EndUserAddressBo> getUserAddressListByUserId(EndUserAddressExample example);
}